Subject: RE: [xsl] [XPath] matching elements which satisfy a specific content model From: Américo Albuquerque <aalbuquerque@xxxxxxxxxxxxxxxx> Date: Mon, 13 Jan 2003 16:26:14 -0000 |
Hi Tobi. How does your function handle nodes with namespace??? Since DTDs doesn't have namespaces but have prefixes it might think that xsl:stylesheet (with xsl=http://www.w3.org/1999/XSL/Transform) and xsl:stylesheet (with xsl=http://www.w3.org/TR/WD-xsl) are the same element (they ave the same name and the same prefix)??? -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Tobias Reif Sent: segunda-feira, 13 de Janeiro de 2003 13:22 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] [XPath] matching elements which satisfy a specific content model David Carlisle wrote: >>The syntax could look familiar to those who write DTDs, >> > That's one of my objections. this would mainly be of use for people > who have a DTD and would copy the content models from the DTD to the > Xpath, No, this is not what people should do, and they would have no reason to. The specification of the function would not mention the acronym "DTD", as I should not have mentioned it. It helped much less than it confused. > but with your suggestion the result would be syntactically correct but > mean something completely different to its DTD meaning because of the > namespace issues. No, not completely different; just the obvious namespace issues which are clearly specified for all XPath functions AFAIK. Tobi -- Vim users donate. http://iccf-holland.org/donate.html Web developers check. http://www.pinkjuice.com/check/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] [XPath] matching elements, Tobias Reif | Thread | Re: [xsl] [XPath] matching elements, Tobias Reif |
Re: [xsl] Re: FO: How to create Edi, Oleg Tkachenko | Date | Re: [xsl] [XPath] matching elements, Tobias Reif |
Month |