← Prev in month ← Prev in thread
Next in thread → Next in month →

RE: [dita] adding multiple attributes using scheme and content

From
Paul Grosso <>
Date
2005-08-22T16:45:18+00:00
ID
Thread
RE: [dita] adding multiple attributes using scheme and content
fwiw, you cannot have a > character within an attribute
value in XML. 

paul

> -----Original Message-----
> From: Esrig, Bruce (Bruce) [mailto:] 
> Sent: Thursday, 2005 August 18 6:48
> To: 
> Subject: RE: [dita] adding multiple attributes using scheme 
> and content
> 
> The "otherprops" approach is to allow a syntax in otherprops 
> for nesting attribute names and values in the value of the 
> otherprops attribute.
> 
> From Paul Prescod, 2 August 2005:
> 
> <p otherattrs="last-changed-date(2005-08-02T12:28:57((-07:00)))"
> generalizedprops="otherattrs"/>
> 
> Here is an alternate proposal for the underpinnings of a DITA 
> enhancement that would allow the encoding of multiple 
> metadata attributes using a scheme attribute in parallel with 
> a content attribute.
> 
> The examples show how two existing DITA elements could be 
> represented in the HTML Meta tag using this approach.
> 
> 1. Define a delimiter syntax such as ":>".
> 2. Add a scheme attribute.
> 3. Map to the three-place attribute set name, scheme, value 
> in the following way (specification by example ...).
> 
> The DITA audience element
> <audience type="programmer" job="programming" 
> experiencelevel="expert"/>
> might be represented as
> 
> <meta name="audience" 
> scheme="name:>type:>job:>experencelevel" 
> content="audience:>programmer:>programming:>expert">
← Prev in month ← Prev in thread
Next in thread → Next in month →