Subject: Re: handling tags and PIs within a macro
From: Nancy Brandt <nancy_brndt@xxxxxxxxx>
Date: Tue, 23 Oct 2007 09:37:22 -0700 (PDT)
|
Well, my XML does work, except for those "macros" or
whatever you call them. Previously, all those macros
were defined in a C file that was called during
compilation. And it worked smoothly. But my boss
decided to get rid of all non-standard add-ons and to
use only XSL to handle the macros. Oh my gosh, this
change is so overwhelming....
Regards,
Nancy
--- Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:
> Nancy,
>
> 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.
>
> Cheers,
> Wendell
>
>
>
======================================================================
> Wendell Piez
> mailto:wapiez@xxxxxxxxxxxxxxxx
> Mulberry Technologies, Inc.
> http://www.mulberrytech.com
> 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
>
======================================================================
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|