implementing dirxml ® stylesheets david wagstaff [email protected]

19
Implementing DirXML® Stylesheets David Wagstaff [email protected]

Upload: penelope-oliver

Post on 29-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

Implementing DirXML® Stylesheets

David [email protected]

Page 2: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.2

one Net: Information without boundaries…where the right people are connected with the right information at the right time to make the right decisions.

The one Net vision

Novell exteNd™

Novell Nsure™

Novell Nterprise™

Novell NgageSM

:

:

:

:

Page 3: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.3

The one Net vision

Novell Nsure solutions take identity management to a whole new level. Novell Nsure gives you the power to control access so you can confidently deliver the right resources to the right people — securely, efficiently, and best of all, affordably.

Novell Nsure™

Novell exteNd™

Novell Nsure™

Novell Nterprise™

Novell NgageSM

:

:

:

:

Page 4: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.4

Plan

1. Overview

2. Algorithm

3. Demo of Algorithm

4. Labs

No XSLT training

No XDS training

Page 5: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.5

Overview

NDS® eDirectory™

with DirXML

Page 6: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.6

Customization to an Application

• Driver• Driver Configuration• Filters• Rules• Policies• Stylesheets

Page 7: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.7

1.Get sample input (source) document

2. Create sample output (result) document

3. Create stylesheet

4. Copy stylesheet to iManager

5. Restart driver

6. Test

Algorithm

Page 8: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.8

1.Get sample input (source) document a) Pick a spot in the channel for the stylesheet

b) Put Expose template there

c) Restart driver

d) Do a trial run

e)Copy the XML doc from the trace into XML editor

2. Create sample output (result) document

3. Create stylesheet

4. Copy stylesheet to iManager

5. Restart driver

6. Test

Algorithm

Page 9: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.9

Did you get the RIGHT document?

NDS: A-->A'-->A''-->A''' :APP

NDS: B'''<--B''<--B'<--B :APP

NEVER EVER trust a random input document in the trace.

It may look good, but it's not exactly what you need.

Page 10: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.10

Expose Template

<!-- writes the source document to the trace -->

<xsl:template match='/'>

<xsl:message>

<xsl:copy-of select='.'/>

</xsl:message>

<xsl:apply-templates/>

</xsl:template>

Page 11: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.11

Algorithm

1.Get sample input (source) document

2. Create sample output (result) document

3. Create stylesheet

4. Copy stylesheet to iManager

5. Restart driver

6. Test

Page 12: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.12

Algorithm

1.Get sample input (source) document

2. Create sample output (result) document

3. Create stylesheet a) Placement with TODO markers

b) Details with TODO markers

c) Babystep it until TODO markers are gone.

4. Copy stylesheet to iManager

5. Restart driver

6. Test

Page 13: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.13

Algorithm

1.Get sample input (source) document

2. Create sample output (result) document

3. Create stylesheet

4. Copy stylesheet to iManager

5. Restart driver

6. Test

Page 14: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.14

Algorithm

1.Get sample input (source) document

2. Create sample output (result) document

3. Create stylesheet

4. Copy stylesheet to iManager

5. Restart driver

6. Test

Page 15: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.15

Algorithm

1.Get sample input (source) document

2. Create sample output (result) document

3. Create stylesheet

4. Copy stylesheet to iManager

5. Restart driver

6. Test a) More trial runs

b) If it fails, grab the input doc to troubleshoot

c) If it succeeds, take out the Expose template

Page 16: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

Demo Break

Page 17: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

Labs Break

Page 18: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com
Page 19: Implementing DirXML ® Stylesheets David Wagstaff dwagstaff@novell.com

© March 9, 2004 Novell Inc.19

General DisclaimerThis document is not to be construed as a promise by any participating company to develop, deliver, or market a product. Novell, Inc., makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Further, Novell, Inc., reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All Novell marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.

No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of Novell, Inc. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.