[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: handling tags and PIs within a macro
Thank you very much for the suggestion, dear Wendell. I will test it now. Best wishes, Nancy --- Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote: > It appears to me that the OP has a problem that > could be remedied > simply enough through better modeling in the > XML-that-is-not-yet-XML: > > ><j_entry cmd="admin/user/mail" dsc="Quota of a > mailbox > >in Megabytes. The default value is taken from the > mail > >server default quota (see entry <xref > >linkend='mta_quota' xrefstyle='template:%t on page > >%p'/>)." rel="Mail Server" t="integer" ver="4.0" > >val="30"/> > > would work better as: > > <j_entry cmd="admin/user/mail" rel="Mail Server" > t="integer" ver="4.0" > val="30"> > <dsc>Quota of a mailbox in Megabytes. The default > value is taken > from the mail > server default quota (see entry <xref > linkend='mta_quota' > xrefstyle='template:%t on page %p'/>).</dsc> > </j_entry> > > Then a template matching the dsc element would see > its element > contents, and being an element not an attribute, > those contents would > actually be legal. > > Cheers, > Wendell > > At 10:23 AM 10/23/2007, you wrote: > >I'm not familiar with the concept of a "macro" in > the context of > >XSLT. Is this an extension function of a particular > XSLT processor? > > > >Your processor is simply reporting that what you've > written is not > >XML ("Unescaped '<' not allowed in attributes > values.").... > > > ====================================================================== > 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|