[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: handling tags and PIs within a macro

Subject: RE: handling tags and PIs within a macro
From: Nancy Brandt <nancy_brndt@xxxxxxxxx>
Date: Tue, 23 Oct 2007 08:12:35 -0700 (PDT)
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 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.