Re: [xsl] handling tags and PIs within a macro

Subject: Re: [xsl] handling tags and PIs within a macro
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 23 Oct 2007 12:13:26 -0400

At 12:02 PM 10/23/2007, David wrote:
> I just need to have dsc right after cmd, and that's
> really important. How can I do that?

The order of the elements in the source does not matter as your template
controls the order that they are processed.

Note that what David says is true for the XSLT -- in general, it doesn't matter what order things appear in, since XSLT is designed to handle it -- but it might not be true for your documents, if they are required to be valid to a schema.

We could help you with the XSLT if you had XML that worked, tagging your information (including the "macros") correctly by the rules both of XML and of your system (your schema and any other operational constraints you may be facing). But you don't. Fix that problem and the rest is easy.


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Current Thread