|
Re: output html as lower case?: msg#00008java.enhydra.xmlc
Hi Mark, At 01:57 PM 6/23/2003 -0700, you wrote: Jacob Kjome <hoju@xxxxxxxx> writes: Check out David Li's JXPath demo. The DOM is generated by XMLC and then XPath is used to query nodes in the dom. Try the following, for example... xpath demo.XPath input/Test.html "/HTML/BODY/TABLE[@id='t2']" Now, if that was XHTML, I'd have to do this... xpath demo.XPath input/Test.html "/html/body/table[@id='t2']" I'd like to be able to use the latter in all cases, not worry about whether I am querying HTML or XHTML. When you test it out, make sure to create a "build.properties" file based on the "build.properties.example" file and specify where the jxpath.jar file is located. Then just run "ant" to build the demo. xpath.bat and xpath.sh are created in the root of the JXPath demo for running the examples (as I used in the examples above). Note that for XMLC-3.0, David plans on utilizing XPath to a great degree, so this case-sensitivity stuff is really of important for that, but I'd really like to see it resolved for the XMLC-2.2 release. Jake Mark
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: output html as lower case?, Mark Diekhans |
|---|---|
| Next by Date: | Re: output html as lower case?, Mark Diekhans |
| Previous by Thread: | Re: output html as lower case?, Mark Diekhans |
| Next by Thread: | Re: output html as lower case?, Mark Diekhans |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |