Subject: Re: [xsl] I haven't got xslt.dtd... From: Vicente Castillo <castillo@xxxxxxxxxxx> Date: Mon, 1 Dec 2003 16:29:20 +0100 |
--- Vicente Castillo <castillo@xxxxxxxxxxx> wrote:Hi all, I think that an xslt.dtd file would be useful for that as it seems to be some kind of definition file for the xml.
Vicente,
The DTD for XSL is built-in to whichever processor you are using.
When you write an XSL and wish to validate it. The processors validate command will do the job without needing to have a DTD specified.
Most XML/XSL Editors, that provide a code-insight feature, will parse the DTD specified in prologue in order to populate the code-insight. Really good editors will parse the DTD in context of the document. That is, if you are inserting an element as a child to a parent, then only those elements contained by the parents element definition will be displayed on the code-insight.
As the DTD is built-in to the XSL processor, editing and processing performance are improved. This is due to the fact that the editor does not have to load and then serialize the DTD.
One of the reasons why this is possible, is because the Elements, Functions, Axes and Operators of the language are standardized by the W3C XSLT Recommendation [http://www.w3.org/Style/XSL/], currently at version 1.0.
This means that you cannot just change or customize XSL. Well, if you want to preserve portability and compatibility across applications.
With regard to your application. You may want to reconsider the process of converting to TXT and then back to XML. Rather remain in XML.
Hope this helps,
Sean Wheller
__________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] how do java xsl processor, Robert Koberg | Thread | [xsl] Fwd: Looking for a starting p, Alan Johnson |
RE: [xsl] Problem with position( ) , Jaime A Stuardo Baha | Date | Re: [xsl] how do java xsl processor, Robert Koberg |
Month |